regexp.machine.matchcap (field)
17 uses
regexp (current package)
exec.go#L44: matchcap []int // capture information for the match
exec.go#L99: m.matchcap = m.matchcap[:ncap]
exec.go#L111: t.cap = make([]int, len(m.matchcap), cap(m.matchcap))
exec.go#L181: for i := range m.matchcap {
exec.go#L182: m.matchcap[i] = -1
exec.go#L219: if len(m.matchcap) > 0 {
exec.go#L220: m.matchcap[0] = pos
exec.go#L222: m.add(runq, uint32(m.p.Start), pos, m.matchcap, &flag, nil)
exec.go#L229: if len(m.matchcap) == 0 && m.matched {
exec.go#L268: if longest && m.matched && len(t.cap) > 0 && m.matchcap[0] < t.cap[0] {
exec.go#L279: if len(t.cap) > 0 && (!longest || !m.matched || m.matchcap[1] < pos) {
exec.go#L281: copy(m.matchcap, t.cap)
exec.go#L547: dstCap = append(dstCap, m.matchcap...)
regexp.go#L245: if cap(m.matchcap) < re.matchcap {
regexp.go#L246: m.matchcap = make([]int, re.matchcap)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |